#pragma once

#include "stdafx.h"
#include "OIS/OIS.h"
#include "TextRenderer.h"
#include "Map.h"
#include "Player.h"
#include "Enemy.h"

class GameLoop
{
public:
	GameLoop(OIS::Mouse*, OIS::Keyboard*, Ogre::Camera*, Ogre::SceneManager*);
	~GameLoop(void);

public:
	bool	Update(const Ogre::FrameEvent&);

private:
	// Differents Controlleurs de Ogre
	OIS::Mouse*         mMouse;
    OIS::Keyboard*      mKeyboard;
	Ogre::Camera*		mCamera;
	Ogre::SceneManager*	mSceneMgr;
	TextRenderer*		mTextItem;

	// Les entites de la scene
	Map		*map;
	Player	*player;
	Enemy	*enemy;
};


